package com.mc.lp.shared.vo;

import java.util.ArrayList;
import java.util.List;

import org.springframework.util.StringUtils;

/*
 * @author aphanda
 * @date Feb 1, 2015
 * @time 4:43:26 PM
 */

public class BubbleChartVO extends ChartVO{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public BubbleChartVO() {
	}




	private String bubbleString;
	
	private String XAxisValue;
	
	private String YAxisValue;
	
	private String legendValue;
	
	private List<String> extraValues = new ArrayList<String>();

	public String getBubbleString() {
		return bubbleString;
	}

	public void setBubbleString(String bubbleString) {
		this.bubbleString = bubbleString;
	}

	public String getXAxisValue() {
		return XAxisValue;
	}

	public void setXAxisValue(String xAxisValue) {
		XAxisValue = xAxisValue;
	}

	public String getYAxisValue() {
		return YAxisValue;
	}

	public void setYAxisValue(String yAxisValue) {
		YAxisValue = yAxisValue;
	}

	public String getLegendValue() {
		return legendValue;
	}

	public void setLegendValue(String legendValue) {
		this.legendValue = legendValue;
	}

	public List<String> getExtraValues() {
		return extraValues;
	}

	public void setExtraValues(List<String> extraValues) {
		this.extraValues = extraValues;
	}

	
	
	@Override
	public String toChartString() {
		return  bubbleString + "," + XAxisValue + "," + YAxisValue + "," + legendValue + "," + StringUtils.arrayToCommaDelimitedString(StringUtils.toStringArray(extraValues));
	}
	
	
	
	
	

}
